package com.yunyao.common.constant.enums;

import lombok.Getter;

/**
 * @author xingjishuai
 * @date 2024-09-10
 */
@Getter
public enum ReconciliationStatusEnum {
    /**
     * 0 == e.status ? "待核对" :
     * 2 == e.status ? "待供应商确认" :
     * 3 == e.status ? "待云采确认" :
     * 4 == e.status ? "供应商确认驳回" :
     * 5 == e.status ? "对账结算中" :
     * 6 == e.status ? "对账结算完成" :
     * 7 == e.status ? "云采确认完成"
     */
    TO_BE_CHECKED(0, "待核对"),
    CHECKED_OUT(1, "已核对"),
    CONFIRMED_BY_SUPPLIER(2, "待供应商确认"),
    CONFIRMED_BY_CLOUD_ACQUISITION(3, "待云采确认"),
    SUPPLIER_CONFIRMATION_REJECTION(4, "供应商确认驳回"),
    PAYMENT_COLLECTION_IN_PROGRESS(5, "对账结算中"),
    PAYMENT_COLLECTION_COMPLETE(6, "对账结算完成"),
    CLOUD_ACQUISITION_CONFIRMATION_COMPLETE(7, "云采确认完成");
    private final Integer type;
    private final String desc;

    ReconciliationStatusEnum(Integer type, String desc) {
        this.type = type;
        this.desc = desc;
    }

}
